blktap: Fix old QCow tapdisk image handling
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 4 May 2010 11:38:19 +0000 (12:38 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 4 May 2010 11:38:19 +0000 (12:38 +0100)
commit82fa47405a5f7b5071603e4df7387297303b6035
treee849b2cce875a8158fb8c520ecca2ce813902887
parent15fb9e3a4e7de1344e596fd46e31fae9656fe5a4
blktap: Fix old QCow tapdisk image handling

When I tried to use QCow image, I found that only each second boot is
successful. As I discovered, this is caused by wrong handling old qcow
tapdisk images. Extended header flag is not stored correctly so the
blktap tries to change endian fo L1 table on each startup.

From: Miroslav Rezanina <mrezanin@redhat.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
tools/blktap/drivers/block-qcow.c